package review.chapter02;
import java.util.Scanner;
/**
 * Enjoy programming!!!
 * Time: 2021/12/22 -  16:14
 */
public class Print_ {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.print("请输入一个整数");
        int i = in.nextInt();

        System.out.printf("这个整数是：%d\n",i);

        System.out.print("请输入一句字符串：");
        Scanner input = new Scanner(System.in);
        String s = input.nextLine();

        System.out.printf("您所输入的字符串是：%s\n",s);
    }
}
